package service.impl;

import service.PhotoService;
import bean.Photo;
import dao.PhotoDao;

public class PhotoServiceImpl implements PhotoService {
	private PhotoDao photoDao;
	@Override
	public boolean addPhoto(Photo photo) {
		return photoDao.addPhoto(photo);
	}
	public PhotoDao getPhotoDao() {
		return photoDao;
	}
	public void setPhotoDao(PhotoDao photoDao) {
		this.photoDao = photoDao;
	}
	

}
